package car

import (
	"github.com/gin-gonic/gin"
	"net/http"
)

// -----只定义方法，然后在路由中注册-----
func Index(c *gin.Context) {
	c.String(http.StatusOK, "%s", "car首页")
}

func Detail(c *gin.Context) {
	c.String(http.StatusOK, "%s", "car详情")
}

func Del(c *gin.Context) {
	c.String(http.StatusOK, "%s", "删除car")
}
